import numpy as np
import matplotlib.pyplot as plt 
#import pyperclip


# num = float(input('请输入一个数字： '))
# num_sqrt = num ** 0.5
# print(' %0.3f 的平方根为 %0.3f'%(num ,num_sqrt))

R = 4
H = 3
t = 15 / 10.08
f = open('H.md','w')

while t < 1600:
    R = ( t * 10.08 + 1 ) ** 0.5
    H = (((( R / 2.25 ) ** 1.5) * 11.5) / (3.14 * (R ** 2))) + 1.5
#    print('T的值', t)
    print (H)
    f.write(str(H) + ', ')
#    pyperclip.copy(t)
#    print('R的值的是', R)
#    print('H的值是', H)
    t = t + 10;

#    fig = plt.figure()
#    plt.plot(R,H)
#    plt.xlabel('扩散半径')
#    plt.ylabel('高度')
#    plt.show()
